#ifndef _MOTOR_H
#define _MOTOR_H

#include "stm32f10x.h"
#include "io_bit.h"
#include "rgb.h"
#include "oled.h"
#include "key.h"
#include "step_motor.h"
 
extern s16 r,g,b; 
extern u8 motor_arrow_flag;
extern u8 key_v;
extern s16 speed;
extern u8 dc_motor_arrow_flag;
extern u8 step_motor_arrow_flag;
extern u8 oled_flag;
extern u8 arrow_flag;






void Motor_Config(void);
void Motor_Control(s16 speed);
void Motor_Fun(void);

#endif

